home *** CD-ROM | disk | FTP | other *** search
- Short: Prints "big-endian" date
- Author: Matthias.Bethke@gmx.net
- Uploader: Matthias.Bethke@gmx.net
- Type: util/cli
-
-
- This is a tiny tool that just prints a "big-endian" (year first to simplify
- sorting) date/time string. It is meant for use in scripts, particularily
- those called as cron jobs.
- "getdate" without an argument prints the date as yyyymmdd, giving the
- "Time" argument makes it (tadaaa!) print date and time as yyyymmddhhMMss.
- Example:
- mv YAM.log YAM_`getdate`.log
-
- Status: Public Domain
- Source: included
-